package com.linchaoen.elema.model.entity;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Date;
import java.util.List;

public class Store {

    private Integer id;

    @JsonProperty("store_name")
    private String storeName;

    private Integer time;

    private Integer distance;

    private Integer sales;

    private Double score;

    @JsonProperty("food_list")
    private List<Food> foodList;

    @JsonProperty("cover_img")
    private String coverImg;

    @JsonProperty("label_id")
    private Integer labelId;

    @JsonProperty("start_price")
    private Integer startPrice;

    @JsonProperty("trans_price")
    private Double transPrice;

    public Integer getStartPrice() {
        return startPrice;
    }

    public void setStartPrice(Integer startPrice) {
        this.startPrice = startPrice;
    }

    public Double getTransPrice() {
        return transPrice;
    }

    public void setTransPrice(Double transPrice) {
        this.transPrice = transPrice;
    }

    public Integer getLabelId() {
        return labelId;
    }

    public void setLabelId(Integer labelId) {
        this.labelId = labelId;
    }

    @Override
    public String toString() {
        return "Store{" +
                "id=" + id +
                ", storeName='" + storeName + '\'' +
                ", time=" + time +
                ", distance=" + distance +
                ", sales=" + sales +
                ", score=" + score +
                ", foodList=" + foodList +
                ", coverImg='" + coverImg + '\'' +
                ", labelId=" + labelId +
                ", startPrice=" + startPrice +
                ", transPrice=" + transPrice +
                '}';
    }

    public String getCoverImg() {
        return coverImg;
    }

    public void setCoverImg(String coverImg) {
        this.coverImg = coverImg;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public Integer getTime() {
        return time;
    }

    public void setTime(Integer time) {
        this.time = time;
    }

    public Integer getDistance() {
        return distance;
    }

    public void setDistance(Integer distance) {
        this.distance = distance;
    }

    public Integer getSales() {
        return sales;
    }

    public void setSales(Integer sales) {
        this.sales = sales;
    }

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    public List<Food> getFoodList() {
        return foodList;
    }

    public void setFoodList(List<Food> foodList) {
        this.foodList = foodList;
    }
}
